WCPay\Fraud_Prevention\Fraud_Prevention_Service S

Total Complexity 22
Dependencies 3
Dependents 5
Total lines 162
Lines of code 60
Logical lines of code 31
Comment lines 77
Methods 9
Properties 3

Methods 9

Method Rating Maintainability Complexity Lines of code
maybe_append_fraud_prevention_token()
A
53 9 22
verify_token()
S
68 3 7
get_instance()
S
69 2 6
is_pay_for_order_page()
S
78 2 3
get_token()
S
69 2 7
__construct()
S
77 1 4
set_instance()
S
80 1 3
is_enabled()
S
81 1 3
regenerate_token()
S
72 1 5